package com.account.domains;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 还款计划执行任务明细表
 * </p>
 *
 * @author ganhuaicheng
 * @since 2017-09-19
 */
@TableName("local_repayplan_task_detail")
public class LocalRepayplanTaskDetail implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 自增Id
	 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/**
	 * 还款计划执行任务id
	 */
	@TableField(value="repayment_task_id")
	private Long repaymentTaskId;

	/**
	 * 用户id
	 */
	@TableField(value="customer_id")
	private Long customerId;

	/**
	 * 应还租金，货币单位：分
	 */
	@TableField(value="plan_amt")
	private BigDecimal planAmt;

	/**
	 * 应还本金(单位:分)
	 */
	@TableField(value="plan_prin")
	private BigDecimal planPrin;

	/**
	 * 应还利息(单位:分)
	 */
	@TableField(value="plan_interest")
	private BigDecimal planInterest;

	/**
	 * 应还罚息(单位:分)
	 */
	@TableField(value="plan_penalty")
	private BigDecimal planPenalty;

	/**
	 * 应还违约金(单位:分)
	 */
	@TableField(value="plan_damages")
	private BigDecimal planDamages;

	/**
	 * 应收gps费用(单位:分)
	 */
	private BigDecimal gpscost;

	/**
	 * 应收延保费(单位:分)
	 */
	private BigDecimal extendedwarranty;

	/**
	 * 应收手续费(单位:分)
	 */
	private BigDecimal poundage;

	/**
	 * 减免利息(单位:分)
	 */
	@TableField(value="waiver_interest")
	private BigDecimal waiverInterest;

	/**
	 * 减免罚息(单位:分)
	 */
	@TableField(value="waiver_penalty")
	private BigDecimal waiverPenalty;

	/**
	 * 减免违约金(单位:分)
	 */
	@TableField(value="waiver_damages")
	private BigDecimal waiverDamages;

	/**
	 * 逾期天数
	 */
	@TableField(value="due_days")
	private Integer dueDays;

	/**
	 * 罚息天数
	 */
	@TableField(value="penalty_days")
	private Integer penaltyDays;

	/**
	 * 逻辑删除标记  0：有效;1：删除
	 */
	@TableField(value="is_delete")
	private Integer isDelete;

	/**
	 * 创建时间
	 */
	@TableField(value="create_time")
	private Date createTime;

	/**
	 * 更新时间
	 */
	@TableField(value="update_time")
	private Date updateTime;



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getRepaymentTaskId() {
		return repaymentTaskId;
	}

	public void setRepaymentTaskId(Long repaymentTaskId) {
		this.repaymentTaskId = repaymentTaskId;
	}

	public Long getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Long customerId) {
		this.customerId = customerId;
	}

	public BigDecimal getPlanAmt() {
		return planAmt;
	}

	public void setPlanAmt(BigDecimal planAmt) {
		this.planAmt = planAmt;
	}

	public BigDecimal getPlanPrin() {
		return planPrin;
	}

	public void setPlanPrin(BigDecimal planPrin) {
		this.planPrin = planPrin;
	}

	public BigDecimal getPlanInterest() {
		return planInterest;
	}

	public void setPlanInterest(BigDecimal planInterest) {
		this.planInterest = planInterest;
	}

	public BigDecimal getPlanPenalty() {
		return planPenalty;
	}

	public void setPlanPenalty(BigDecimal planPenalty) {
		this.planPenalty = planPenalty;
	}

	public BigDecimal getPlanDamages() {
		return planDamages;
	}

	public void setPlanDamages(BigDecimal planDamages) {
		this.planDamages = planDamages;
	}

	public BigDecimal getGpscost() {
		return gpscost;
	}

	public void setGpscost(BigDecimal gpscost) {
		this.gpscost = gpscost;
	}

	public BigDecimal getExtendedwarranty() {
		return extendedwarranty;
	}

	public void setExtendedwarranty(BigDecimal extendedwarranty) {
		this.extendedwarranty = extendedwarranty;
	}

	public BigDecimal getPoundage() {
		return poundage;
	}

	public void setPoundage(BigDecimal poundage) {
		this.poundage = poundage;
	}

	public BigDecimal getWaiverInterest() {
		return waiverInterest;
	}

	public void setWaiverInterest(BigDecimal waiverInterest) {
		this.waiverInterest = waiverInterest;
	}

	public BigDecimal getWaiverPenalty() {
		return waiverPenalty;
	}

	public void setWaiverPenalty(BigDecimal waiverPenalty) {
		this.waiverPenalty = waiverPenalty;
	}

	public BigDecimal getWaiverDamages() {
		return waiverDamages;
	}

	public void setWaiverDamages(BigDecimal waiverDamages) {
		this.waiverDamages = waiverDamages;
	}

	public Integer getDueDays() {
		return dueDays;
	}

	public void setDueDays(Integer dueDays) {
		this.dueDays = dueDays;
	}

	public Integer getPenaltyDays() {
		return penaltyDays;
	}

	public void setPenaltyDays(Integer penaltyDays) {
		this.penaltyDays = penaltyDays;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
